package com.javaee.mapper.admin;

import com.javaee.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminMapper {
    //根据用户名查找用户
    Admin findByUsername(String username);
    //修改密码
    int updatePwd(@Param("username") String username, @Param("password") String password);

}
